include ../../mk/Makefile.root.include
include ../../mk/Makefile.libs.include
HIDE=

CUR_PROJ_DIR	:= ..

PROJ_INC_PATHES +=	$(CUR_PROJ_DIR)
PROJ_INC_PATHES +=	$(GTEST_INC_PATH) 
PROJ_LIB_PATHES += 	$(GTEST_LIB_PATH)
PROJ_LIB_NAMES 	+=   gtest_main  pthread

PROJ_CXXFLAGS += 


PROJ_CXX_SRC += $(wildcard $(CUR_PROJ_DIR)/recovery/*.cpp)
PROJ_CXX_SRC += $(wildcard $(CUR_PROJ_DIR)/recovery/log/*.cpp)
PROJ_CXX_SRC += $(wildcard $(CUR_PROJ_DIR)/recovery/fs/*.cpp)
PROJ_CXX_SRC += $(wildcard $(CUR_PROJ_DIR)/recovery/fs/file/*.cpp)



all:$(TARGET_BIN) subdirs

$(TARGET_BIN):$(OBJS)
	$(DO_CPP_TARGET)

clean: subdirs.clean
	$(DO_CLEAN)
	rm -frv *.log

run: subdirs.run $(TARGET_BIN)
	$(DO_RUN_BIN)

subdirs:
	make -C ./fs 
	make -C ./log
	make -C ./stream

subdirs.clean:
	make -C ./fs clean
	make -C ./log clean
	make -C ./stream clean

subdirs.run:
	make -C ./fs run
	make -C ./log run
	make -C ./stream run

